<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>管理系统</title>
    <link rel="stylesheet" href="__PUBLIC__/Admin/css/pintuer.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/css/admin.css">
    <style type="text/css">
    .self{
        width: 50%;
    }
    </style>
    <script src="__PUBLIC__/Admin/js/jquery.js"></script>
    <script src="__PUBLIC__/Admin/js/pintuer.js"></script>
    <script src="__PUBLIC__/Admin/js/respond.js"></script>
    <script src="__PUBLIC__/Admin/js/admin.js"></script>
    <script charset="utf-8" src="__PUBLIC__/Admin/editor/kindeditor.js"></script>
    <script charset="utf-8" src="__PUBLIC__/Admin/editor/lang/zh_CN.js"></script>
<script>
        KindEditor.ready(function(K) {
                window.editor = K.create('#editor_id');
        });
</script>
</head>
<body>

<div class="lefter">
    <div class="logo"><a href="#" target="_blank"><img src="__PUBLIC__/Admin/images/logo.png" alt="后台管理系统" /></a></div>
</div>
<div class="righter nav-navicon" id="admin-nav">
    <div class="mainer">
        <div class="admin-navbar">
            <span class="float-right">
                <a class="button button-little bg-main" href="{:U('Index/Index/index')}" target="_blank">前台首页</a>
                <a class="button button-little bg-yellow" href="{:U('Login/CheckOut')}">注销登录</a>
            </span>
            <ul class="nav nav-inline admin-nav">
                <li class="active"><a href="#" class="icon-home"> 网站后台管理系统</a>
                    <ul><li class="active"><a href="{:U('Content/system')}">系统设置</a></li><li><a href="{:U('Content/contentList')}">内容管理</a></li></ul>
                </li>
            </ul>
        </div>
        <div class="admin-bread">
            <span>您好，{$_SESSION['username']}，欢迎您的回来。</span>
            <ul class="bread">
                <li><a class="icon-home"> 开始</a></li>
                <li>系统设置</li>
            </ul>
        </div>
    </div>
</div>

<div class="admin">
    <div class="tab">
      <div class="tab-head">
        <ul class="tab-nav">
          <li class="active"><a href="#tab-set">系统设置</a></li>
        </ul>
      </div>
      <div class="tab-body">
        <br />
        <div class="tab-panel active" id="tab-set">
        	<form method="post" class="form-x" action="{:U('Content/settingHandle')}">
                <div class="form-group">
                    <div class="label"><label for="title">网站地址</label></div>
                    <div class="field">
                        <input type="text" class="input self" id="weburl" name="weburl" size="20" value="{$setting['weburl']}"  placeholder="请输入网站地址" data-validate="required:不能为空。" />
                    </div>
                </div>
                <div class="form-group">
                    <div class="label"><label for="title">网站标题</label></div>
                    <div class="field">
                        <input type="text" class="input self" id="title" name="title" size="20" value="{$setting['title']}"  placeholder="请输入网站标题" data-validate="required:不能为空。" />
                    </div>
                </div>
                <div class="form-group">
                    <div class="label"><label for="title">网站关键词</label></div>
                    <div class="field">
                        <input type="text" class="input self" id="keyword" name="keyword" size="20" value="{$setting['keyword']}"  placeholder="请输入网站关键词" data-validate="required:不能为空。" />
                    </div>
                </div>
                <div class="form-group">
                    <div class="label"><label for="title">网站描述</label></div>
                    <div class="field">
                        <input type="text" class="input self" id="description" name="description" size="20" value="{$setting['description']}"  placeholder="请输入网站关键词" data-validate="required:不能为空。" />
                    </div>
                </div>
                <div class="form-group">
                    <div class="label"><label for="type">分类1</label></div>
                    <div class="field">
                    	<input type="text" class="input self" id="type" name="t1" size="20" placeholder="请输入分类" value="{$setting.t1}"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label"><label for="type">分类2</label></div>
                    <div class="field">
                        <input type="text" class="input self" id="type" name="t2" size="20" placeholder="请输入分类" value="{$setting.t2}"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label"><label for="type">分类3</label></div>
                    <div class="field">
                        <input type="text" class="input self" id="type" name="t3" size="20" placeholder="请输入分类" value="{$setting.t3}"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label"><label for="type">分类4</label></div>
                    <div class="field">
                        <input type="text" class="input self" id="type" name="t4" size="20" placeholder="请输入分类" value="{$setting.t4}"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label"><label for="type">分类5</label></div>
                    <div class="field">
                        <input type="text" class="input self" id="type" name="t5" size="20" placeholder="请输入分类" value="{$setting.t5}"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label"><label for="type">分类6</label></div>
                    <div class="field">
                        <input type="text" class="input self" id="type" name="t6" size="20" placeholder="请输入分类" value="{$setting.t6}"/>
                    </div>
                </div>

                <div class="form-group">
                    <div class="label"><label for="title">游戏版本</label></div>
                    <div class="field">
                        <input type="text" class="input self" id="titlecolor" value="{$setting.gameversion}" name="gameversion" size="20" placeholder="请输入游戏版本" data-validate="required:游戏版本不能为空。" />
                    </div>
                </div>

                <div class="form-group">
                    <div class="label"><label for="username">游戏经验</label></div>
                    <div class="field">
                        <input type="text" class="input self" id="username" name="gameexp" size="20" placeholder="请输入游戏经验" data-validate="required:请输入游戏经验。" value="{$setting.gameexp}"/>
                    </div>
                </div>

                <div class="form-group">
                    <div class="label"><label for="username">游戏爆率</label></div>
                    <div class="field">
                        <input type="text" class="input self" id="username" name="gamerate" size="20" placeholder="请输入游戏爆率" data-validate="required:请输入游戏爆率。" value="{$setting.gamerate}" />
                    </div>
                </div>

                <div class="form-group">
                    <div class="label"><label for="username">游戏金币</label></div>
                    <div class="field">
                        <input type="text" class="input self" id="username" name="gamemeso" size="20" placeholder="请填写游戏金币" data-validate="required:请填写游戏金币。" value="{$setting.gamemeso}"/>
                    </div>
                </div>

                <div class="form-group">
                    <div class="label"><label for="username">游戏客户端下载地址</label></div>
                    <div class="field">
                        <input type="text" class="input self" id="username" name="gameurl" size="20" placeholder="请填写游戏客户端下载地址" data-validate="required:请填写。" value="{$setting.gameurl}"/>
                    </div>
                </div>

                <div class="form-group">
                    <div class="label"><label for="username">游戏登录器下载地址</label></div>
                    <div class="field">
                        <input type="text" class="input self" id="username" name="loginurl" size="20" placeholder="请填写游戏登录器下载地址" data-validate="required:请填写游戏登录器下载地址。" value="{$setting.loginurl}"/>
                    </div>
                </div>

                <div class="form-group">
                    <div class="label"><label for="username">游戏升级补丁下载地址</label></div>
                    <div class="field">
                        <input type="text" class="input self" id="username" name="budingurl" size="20" placeholder="请填写游戏升级补丁下载地址" data-validate="required:请填写游戏升级补丁下载地址。" value="{$setting.budingurl}"/>
                    </div>
                </div>

                <div class="form-group">
                    <div class="label"><label for="username">充值链接</label></div>
                    <div class="field">
                        <input type="text" class="input self" id="payurl" name="payurl" size="20" placeholder="请填写充值链接" data-validate="required:请填写游戏充值链接。" value="{$setting.payurl}"/>
                    </div>
                </div>

                <div class="form-group">
                    <div class="label"><label for="username">客服QQ</label></div>
                    <div class="field">
                        <input type="text" class="input self" id="username" name="qq" size="20" placeholder="请填写客服QQ" data-validate="required:请填写客服QQ。" value="{$setting.qq}"/>
                    </div>
                </div>

                <div class="form-group">
                    <div class="label"><label for="username">玩家交流群</label></div>
                    <div class="field">
                        <input type="text" class="input self" id="username" name="qqun" size="20" placeholder="请填写玩家交流群" data-validate="required:请填写玩家交流群。" value="{$setting.qqun}"/>
                    </div>
                </div>

                <div class="form-button"><button class="button bg-main" type="submit">保存修改</button></div>
            </form>
        </div>
      </div>
    </div>
</div>
</body>
</html>